package com.gbk.clickhouseservicestruct.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.myweb.ck.mapping.ChTable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.io.Serializable;
import java.util.Date;

/**
 * @Project: exceptiondata
 * @Package: com.les.exceptiondata.entity
 * @Author： mujian
 * @Create： 2019年08月17日 10:06
 * @Description： TODO
 * @History: modify
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ChTable(name = "tig.T_EAS_DEC_STATUS")
public class EAS_DEC_STATUS implements Serializable {

    private Integer areano;
    private Integer juncno;
    @Temporal(TemporalType.TIMESTAMP)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dectime;
    private Integer lanecount;
    private String laneno;
    private String lanestatus;
    private Integer dectype;
    private String decid;
    private String radarname;
    private Integer status;
    //private String dirno;
}
